﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:_4SQ"
	mc:Ignorable="d"
	x:Class="_4SQ.FriendListControl" Height="300" Width="300">

	<Grid x:Name="LayoutRoot" Background="Transparent">
        <ListBox Name="FriendBox" ItemsSource="{Binding Users}">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <StackPanel>
                        <Image Height="67" HorizontalAlignment="Left"  Name="image1" Source="{Binding photo}" Stretch="Fill" Width="74" />
                        <TextBlock Height="26" Name="textBlock1" Text="{Binding firstName}"  Width="120" Foreground="White" FontSize="16" FontWeight="ExtraBold" />
                        <TextBlock FontSize="16" FontWeight="ExtraBold" Foreground="White"  Name="textBlock2" Text="{Binding lastName}"  />
                        <TextBlock Height="20" Name="textBlock3" Text="{Binding homeCity}" Foreground="White" />
                    </StackPanel>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>

    </Grid>
</UserControl>